package day6homework;

import org.junit.Test;

public class OOPCalTest {
	@Test
	public void test(){
		OOPCal oopCal = new Add(5, 9);
		int result1 = oopCal.getResult();
		System.out.println(result1);
		oopCal = new Mul(44, 2);
		int result2 = oopCal.getResult();
		System.out.println(result2);
	}
}

